import re
#非引号部分
ret=re.findall(r"(?<!\')\b\w+\b(?!\')",msg)
print(ret)
#引号部分
ret=re.findall(r"(?<=\')\w+\s\w+(?=\')",msg)
print(ret)
